package com.woniu.car.feign;

import com.woniu.car.common.ResponseEntity;
import com.woniu.car.parameter.QueryRolePermissionParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "account-service")
public interface AccountClient {
    @PostMapping("/account/rolePermission/queryRolePermission")
    public ResponseEntity queryRolePermission(@RequestBody QueryRolePermissionParam param);
}
